package org.jeecg.modules.santu.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description: 群成员
 * @Author: jeecg-boot
 * @Date:   2025-02-24
 * @Version: V1.0
 */
@Data
@TableName("tb_group_member")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="tb_group_member对象", description="群成员")
public class TbGroupMember implements Serializable {
    private static final long serialVersionUID = 1L;
    public static final Integer not_enable = 0;
    public static final Integer is_enable = 1;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;
	/**微信id*/
	@Excel(name = "微信id", width = 15)
    @ApiModelProperty(value = "微信id")
    private String wxid;
	/**微信群中昵称*/
	@Excel(name = "微信群中昵称", width = 15)
    @ApiModelProperty(value = "微信群中昵称")
    private String nickname;
	/**邀请人的微信*/
	@Excel(name = "邀请人的微信", width = 15)
    @ApiModelProperty(value = "邀请人的微信")
    private String invitedWxid;
	/**进群时间*/
	@Excel(name = "进群时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "进群时间")
    private Date entryTime;
	/**群组id*/
	@Excel(name = "群组id", width = 15)
    @ApiModelProperty(value = "群组id")
    private String groupId;
	/**微信头像*/
	@Excel(name = "微信头像", width = 15)
    @ApiModelProperty(value = "微信头像")
    private String avatar;
	/**金额*/
	@Excel(name = "金额", width = 15)
    @ApiModelProperty(value = "金额")
    private Double money;
	/**所以金额*/
	@Excel(name = "所以金额", width = 15)
    @ApiModelProperty(value = "所以金额")
    private Double totalMoney;
	/**签到时间*/
	@Excel(name = "签到时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "签到时间")
    private Date signinTime;
	/**签到天数*/
	@Excel(name = "签到天数", width = 15)
    @ApiModelProperty(value = "签到天数")
    private Integer dayCount;
	/**冻结金额*/
	@Excel(name = "冻结金额", width = 15)
    @ApiModelProperty(value = "冻结金额")
    private Double freezeMoney;
	/**类型*/
	@Excel(name = "类型", width = 15)
    @ApiModelProperty(value = "类型")
    private Integer type;
	/**是否开启*/
	@Excel(name = "是否开启", width = 15)
    @ApiModelProperty(value = "是否开启")
    private Integer isEnable;
	/**手气最佳时间*/
	@Excel(name = "手气最佳时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "手气最佳时间")
    private Date haveTheBestLuck;
	/**进群是否通知*/
	@Excel(name = "进群是否通知", width = 15, dicCode = "IsNotification")
	@Dict(dicCode = "IsNotification")
    @ApiModelProperty(value = "进群是否通知")
    private Integer isNotification;
    /**佣金*/
    @Excel(name = "佣金", width = 15)
    @ApiModelProperty(value = "佣金")
    private Double commission;
    /**openid*/
    @Excel(name = "openid", width = 15)
    @ApiModelProperty(value = "openid")
    private String openid;
}
